Module for EDI 9.12 | Building Services with EDI Module | Part I WmEDI Package | WmEDI Migration Folder | Summary of Elements in this Folder | wm.b2b.edi.migration:migrateTemplate
 
wm.b2b.edi.migration:migrateTemplate
WmEDI. Creates a flat file schema from the specified template.
Input Parameters
oldTemplate
Document Current name of the template that you want to migrate.
templateName
String Target name of the template you want to migrate.
documentName
String Name for the new flat file schema you want to create.
targetFolder
String Folder in which to create the flat file schema.
targetPackage
String Package in which to create the flat file schema.
targetDictionary
String The name of the flat file dictionary that will hold the record, field, and composite definitions for this schema.
sourceDictionaries
String List (optional) Names of flat file dictionaries in which to search for definitions of records, fields, and composites. If a definition already exists, refer to it instead of creating a new entry in the targetDictionary.
overwrite
String (optional) Whether you want the migrateTemplate service to overwrite entries in the target dictionary if they already exist.
Value
Meaning
false
Do not overwrite flat file dictionary entries in the target dictionary if the entries already exist. This is the default.
true
Overwrite existing dictionary entries with values specified by this template.
Output Parameters
warnings
String List List of warning messages that might reflect migration errors.